Fix visiting zip archives inside tar archives
authorEli Zaretskii <eliz@gnu.org>
Mon, 20 May 2024 12:29:39 +0000 (15:29 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 20 May 2024 12:29:39 +0000 (15:29 +0300)
commit45916eadaed1b7f3a02df62a25bc851a838b6309
treef278a08c9dc3ffb830898ef40d9210dc10c9eb4e
parent18457c64b064e3853511d20a6d1d5d3c0f136733
Fix visiting zip archives inside tar archives

* lisp/tar-mode.el (tar-archive-from-tar): New local variable.
(tar-extract): Set it non-nil for an extracted member that happens
to be arc-mode archive.
* lisp/arc-mode.el (tar-archive-from-tar): Defvar it.
(archive-unique-fname): Make sure FNAME can be created in DIR,
even if FNAME is provided as an absolute file name (this happens
if the archive is a member of a Tar archive, for example).
(archive-extract): Set 'archive-remote' for archives that were
extracted from Tar archives.  (Bug#70987)
lisp/arc-mode.el
lisp/tar-mode.el